<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        /* 
        ul {
            list-style: none;
        }

        .king {
            width: 852px;
            margin: 100px auto;
            background: url(image/bg.jpg) no-repeat;
            /* overflow: hidden; */
        /* padding: 10px;
        } */

        /* .king ul {
            overflow: hidden;
        }

        .king li {
            position: relative;
            float: left;
            width: 69px;
            height: 69px;
            margin-right: 10px;
        }

        .king li.current {
            width: 224px;
        }

        .king li.current .big {
            display: block;
        }

        .king li.current .small {
            display: none;
        }

        .big {
            width: 224px;
            display: none;
        }

        .small {
            position: absolute;
            top: 0;
            left: 0;
            width: 69px;
            height: 69px;
            border-radius: 5px;
        }  */
















        .king {

            width: 852px;
            height: 69px;
            margin: 100px auto;
            background: url(image/bg.jpg);
            overflow: hidden;
            padding: 10px;

        }

        .king ul {
            overflow: hidden;
        }

        .king li {
            position: relative;
            float: left;
            width: 69px;
            height: 69px;
            margin-right: 10px;
            list-style: none;

        }

        .king li.current {
            width: 224px;
        }



        .king li.current .small {
            display: none;
        }


        .big {
            width: 224px;
            display: none;
        }

        .king li.current .big {
            display: block;

        }

        .small {
            position: absolute;
            top: 0;
            left: 0;
            width: 69px;
            height: 69px;
            border-radius: 5px;
        }
    </style>
</head>

<body>
    <div class="king">
        <ul>
            <li class="current">
                <a href="">
                    <img src="image/1s.jpg" alt="" class="small">
                    <img src="image/1big.jpg" alt="" class="big">
                </a>
            </li>
            <li>
                <a href="">
                    <img src="image/2s.jpg" alt="" class="small">
                    <img src="image/2big.jpg" alt="" class="big">
                </a>
            </li>
            <li>
                <a href="">
                    <img src="image/3s.jpg" alt="" class="small">
                    <img src="image/3big.jpg" alt="" class="big">
                </a>
            </li>
            <li>
                <a href="">
                    <img src="image/4s.jpg" alt="" class="small">
                    <img src="image/4big.jpg" alt="" class="big">
                </a>
            </li>
            <li>
                <a href="">
                    <img src="image/5s.jpg" alt="" class="small">
                    <img src="image/5big.jpg" alt="" class="big">
                </a>
            </li>
            <li>
                <a href="">
                    <img src="image/6s.jpg" alt="" class="small">
                    <img src="image/6big.jpg" alt="" class="big">
                </a>
            </li>
        </ul>
    </div>
    <script src="jquery.min.js"></script>
    <script>

        $('.king li ').mouseenter(function () {
            $(this).stop().animate({
                width: 224
            }).find('.small').stop().fadeOut().siblings('.big').stop().fadeIn()
            $(this).siblings('li').stop().animate({
                width: 69
            }).find('.small').stop().fadeIn().siblings('.big').stop().fadeOut()

        })


    </script>
</body>

</html>